x86: query for paddr_bits in early_cpu_detect()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 3 Nov 2015 17:15:58 +0000 (18:15 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 3 Nov 2015 17:15:58 +0000 (18:15 +0100)
commit32b31c17da1ba0da970cd182a8865ac20fabd0fa
treea40339035e49e931da6d8043172e497ade34c219
parentb104a0ad2880123b0d36b57af0478cf56b9b412c
x86: query for paddr_bits in early_cpu_detect()

It is __read_mostly, so repeatedly writing to it is suboptiomal.  As the
MTRRs have already been set up, nothing good will come from its value
changing across CPUs.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/arch/x86/cpu/common.c